<?php if($sf_user->isAuthenticated()): ?>
    <div class="avatar-bubble avatar-bubble-black-bg">
        <div class="avatar"  style="background-image: url('<?php echo $sf_user->getGuardUser()->getAvatar() ?>')"></div>
        <div class="name daniel-font">
            <?php echo link_to($sf_user->getGuardUser()->getPseudo(), "show_player", $sf_user->getGuardUser()); ?>
        </div>
    </div>
    <div style="padding-left: 10px; padding-top: 10px;">
        <p class="white bold" style="font-family: Arial"><img style="vertical-align: -50%"alt="<?php echo sfConfig::get("app_money_name")?>" src="<?php echo sfConfig::get("app_money_icon") ?>"/><?php echo $sf_user->getGuardUser()->getMoney() ?> <?php echo sfConfig::get("app_money_name") ?></p>
        <div class="info-bille"><acronym title="Messages privés"><a <?php $sf_user->getGuardUser()->countNewPrivateMessage() > 0 ? 'class="new"': NULL ?> href="<?php echo url_for("pm_box") ?>"><?php echo $sf_user->getGuardUser()->countNewPrivateMessage() ?></a>[MP]</acronym>, <acronym title="Notifications"><?php echo link_to($sf_user->getGuardUser()->countNotifications(), "show_notifications") ?></acronym></div>
    </div>
    
<?php endif; ?>
